package com.sens.bean;

import com.sens.common.ProtectBean;

import java.io.Serializable;
import java.util.List;

public class AlipayTrade extends ProtectBean implements Serializable {
    private Data result;

    public Data getResult() {
        return result;
    }

    public void setResult(Data result) {
        this.result = result;
    }

    public static class Data extends ProtectBean {
        private List<Order> list;

        public List<Order> getList() {
            return list;
        }

        public void setList(List<Order> list) {
            this.list = list;
        }

        public static class Order extends ProtectBean {
            /**
             * totalPayedAmount : 0.02
             * gmtCreateStamp : 1545849686000
             * totalAmount : 0.02
             * tradeNo : 2018122722001462100589429656
             * tradeTransAmount : 0.02
             * tradeRefundAmount : 0.00
             * consumerName : *要钢
             */

            private String totalPayedAmount;
            private long gmtCreateStamp;
            private String totalAmount;
            private String tradeNo;
            private String tradeTransAmount;
            private String tradeRefundAmount;
            private String consumerName;

            public String getTotalPayedAmount() {
                return totalPayedAmount;
            }

            public void setTotalPayedAmount(String totalPayedAmount) {
                this.totalPayedAmount = totalPayedAmount;
            }

            public long getGmtCreateStamp() {
                return gmtCreateStamp;
            }

            public void setGmtCreateStamp(long gmtCreateStamp) {
                this.gmtCreateStamp = gmtCreateStamp;
            }

            public String getTotalAmount() {
                return totalAmount;
            }

            public void setTotalAmount(String totalAmount) {
                this.totalAmount = totalAmount;
            }

            public String getTradeNo() {
                return tradeNo;
            }

            public void setTradeNo(String tradeNo) {
                this.tradeNo = tradeNo;
            }

            public String getTradeTransAmount() {
                return tradeTransAmount;
            }

            public void setTradeTransAmount(String tradeTransAmount) {
                this.tradeTransAmount = tradeTransAmount;
            }

            public String getTradeRefundAmount() {
                return tradeRefundAmount;
            }

            public void setTradeRefundAmount(String tradeRefundAmount) {
                this.tradeRefundAmount = tradeRefundAmount;
            }

            public String getConsumerName() {
                return consumerName;
            }

            public void setConsumerName(String consumerName) {
                this.consumerName = consumerName;
            }
        }
    }
}
